package com.zw.yzk.kabu.data.network.entity;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by zhanwei on 2017/3/12.
 */

public class GoodsClassifyEntity extends Entity {
    @Expose
    @SerializedName("result")
    public Result result;

    public static class Result {
        @Expose
        @SerializedName("total_rows")
        public int total;

        @Expose
        @SerializedName("product_type_list")
        public List<Classify> classifyList;
    }

    public static class Classify {
        @Expose
        @SerializedName("id")
        public int id;// 编号
        @Expose
        @SerializedName("content")
        public String content;// 一级分类内容
        @Expose
        @SerializedName("product_sub_type_list")
        public List<Details> detailsList;//子项
    }

    public static class Details {
        @Expose
        @SerializedName("id")
        public int id;// 编号
        @Expose
        @SerializedName("content")
        public String content;// 商品二级分类内容
        @Expose
        @SerializedName("display_img_url")
        public String image;// 类型展示图片
    }
}
